Skip to content

Conversation

topecongiro
Copy link
Contributor

@topecongiro topecongiro commented Jul 27, 2019

This is required to fix the rustc-ap-syntax build error in the recent version. The error could also be fixed on the rustc-auto-publish side by manually adding [lib] section if one does not exist. The latter approach, however, may have a surprising side effect, so I am opting for a simpler solution for now.

r? @alexcrichton

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 27, 2019

[lib]
doctest = false
name = "rustc_lexer"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment explaining that we need this "no-op" lib section for purely for ap?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment in 98f29f5.

@matklad
Copy link
Member

matklad commented Jul 27, 2019

r? @matklad

r=me with an explanatory comment

@Xanewok
Copy link
Member

Xanewok commented Jul 27, 2019

@bors r=matklad p=2 (blocks RLS update and Rustfmt/Racer nightly builds)

@bors
Copy link
Collaborator

bors commented Jul 27, 2019

📌 Commit 98f29f5 has been approved by matklad

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 27, 2019
@bors
Copy link
Collaborator

bors commented Jul 27, 2019

⌛ Testing commit 98f29f5 with merge 0ee6ce723198fcd11d708cb987beaf39e11d1cd5...

Centril added a commit to Centril/rust that referenced this pull request Jul 27, 2019
Add lib section to rustc_lexer's Cargo.toml

This is required to fix the rustc-ap-syntax build error in the recent version. The error could also be fixed on the [rustc-auto-publish](https://github.com/alexcrichton/rustc-auto-publish) side by manually adding `[lib]` section if one does not exist. The latter approach, however, may have a surprising side effect, so I am opting for a simpler solution for now.

r? @alexcrichton
@Centril
Copy link
Contributor

Centril commented Jul 27, 2019

@bors retry rolled up

bors added a commit that referenced this pull request Jul 27, 2019
Rollup of 6 pull requests

Successful merges:

 - #62423 (Fix cycle error with existential types)
 - #62979 (Cleanup save-analysis JsonDumper)
 - #62982 (Don't access a static just for its size and alignment)
 - #63013 (add `repr(transparent)` to `IoSliceMut` where missing)
 - #63014 (Stop bare trait lint applying to macro call sites)
 - #63036 (Add lib section to rustc_lexer's Cargo.toml)

Failed merges:

r? @ghost
@bors bors merged commit 98f29f5 into rust-lang:master Jul 27, 2019
@topecongiro topecongiro deleted the add-lib-section branch July 28, 2019 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants